<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp"%>
<div>
    <form id="manage_instChannelApi_editform" action="${pageContext.request.contextPath}/manage/channel/instChannelApi/${action=='create'?'saveJson':'updateJson'}.html" method="post">
      <jodd:form bean="instChannelApi" scope="request">
        <input name="id" type="hidden" />
        <table class="tableForm" width="100%">
			<tr>
				<th width="25%">渠道API编码：</th>
				<td><input type="text" name="gatewayChannelApi" size="48" placeholder="请输入渠道API编码" class="easyui-validatebox text" data-options="validType:['length[1,50]']"/></td>
			</tr>
			<tr>
				<th>渠道API CODE 描述：</th>
				<td><input type="text" name="gatewayChannelApiDesc" size="48" placeholder="请输入渠道API CODE 描述..." class="easyui-validatebox text" data-options="validType:['length[1,128]']"/></td>
			</tr>					
			<tr>
				<th>渠道限额：</th>
				<td><input type="text" name="quota" size="48" data-options="validType:'money'" placeholder="请输入渠道限额..." style="height: 27px;line-height: 27px;" class="easyui-numberbox text" data-options="validType:['length[1,19]']"/></td>
			</tr>					
			<tr>
				<th>日限：</th>
				<td><input type="text" name="dayQuota" size="48" data-options="validType:'money'" placeholder="请输入日限..." style="height: 27px;line-height: 27px;" class="easyui-numberbox text" data-options="validType:['length[1,19]']"/></td>
			</tr>					
			<tr>
				<th>渠道费率：</th>
				<td><input type="text" name="rate" size="48" data-options="validType:'money'" placeholder="请输入渠道费率..." style="height: 27px;line-height: 27px;" class="easyui-numberbox text" data-options="validType:['length[1,19]']"/></td>
			</tr>
			<tr>
				<th>银行编码：</th>
				<td>
					<select name="instBankId" editable="false" style="height:27px;" size="20" data-options="required:true" panelHeight="200" class="easyui-combobox" >
						<c:forEach items="${allBank}" var="e">
							<option value="${e.INST_BANK_ID}">${e.INST_BANK_NAME}</option>
						</c:forEach>
					</select>
				</td>
			</tr>
			<tr>
				<th>渠道状态：</th>
				<td><select name="status" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox" >
					<c:forEach items="${allStatuss}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select></td>
			</tr>					
			<tr>
				<th>扩展字段：</th>
				<td><textarea rows="3" cols="40" placeholder="请输入扩展字段..." style="width:300px;" name="extendField" class="easyui-validatebox" data-options="validType:['length[1,4000]']"></textarea></td>
			</tr>					
        </table>
      </jodd:form>
    </form>
</div>
